package com.hc.wego.constant.state;

import org.springframework.stereotype.Component;

/**
 *
 * @author hc
 * @date 2025-06-20 10:57
 */
@Component
public class StateConstant {

    public static String getUserStateName(Integer state) {
        switch (state) {
            case 0:
                return "禁用";
            case 1:
                return "正常";
            case 2:
                return "受限";
            default:
                return "未知";
        }
    }
}
